package dao.factory;

import dao.AddressDao;
import dao.impl.AddressDaoImpl;

public class DaoFactory {
	private static AddressDao addressDao;
	
	public static AddressDao getAddressDao(){
		if(addressDao == null){
			addressDao = new AddressDaoImpl();
			return addressDao;
		}
		return addressDao;
	}
}
